#include "problems/1221.h"
#include "gtest/gtest.h"

TEST(TestProblemSolutions, TestProblem1221)
{
    problem_1221::Solution s;
    ASSERT_EQ(s.balancedStringSplit("RLRRLLRLRL"), 4);
    ASSERT_EQ(s.balancedStringSplit("RLLLLRRRLR"), 3);
    ASSERT_EQ(s.balancedStringSplit("LLLLRRRR"), 1);
}